#ifndef __TRANSFER__
#define __TRANSFER__
#include <my_header.h>
#include <openssl/sha.h>
#define BUFFER_SIZE 4096
typedef struct train_s{
    int tag;
    int length;
    char data[1000];
}train_t;

int recvn(int sockfd, void *buf, int length);

int recvPWD(int netfd);

int recvLS(int netfd);

int putfile_c_to_s(int netfd,char* filename);

int getfile_s_to_c(int netfd);
#endif
